import { createApp } from 'vue'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import '@element-plus/icons-vue';

import VueQuillEditor from 'vue-quill-editor'
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
import mitt from "mitt"
const app = createApp(App)
app.use(VueQuillEditor)
app.use(ElementPlus, {
    locale: zhCn,
})
app.config.globalProperties.$mybus = new mitt()
app.use(router).mount('#app')
